import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'Login',
      component: () => import('../views/LoginView.vue'),
    },
    {
      path: '/Main',
      name: 'Main',
      component: () => import('../views/Customer/MainView.vue'),
    },
    {
      path: '/RoomType',
      name: 'RoomType',
      component: () => import('../views/Customer/RoomTypeView.vue'),
    },   
    {
      path: '/OrderDetails',
      name: 'OrderDetails',
      component: () => import('../views/Customer/OrderDetailsView.vue'),
    }
  ],
})

export default router
